projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbfe3ca
)
; * src/json.c (json_parse_object): Call make_hash_table directly.
author
Mattias Engdegård
<mattiase@acm.org>
Mon, 1 Apr 2024 15:01:07 +0000
(17:01 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Mon, 1 Apr 2024 15:07:04 +0000
(17:07 +0200)
src/json.c
patch
|
blob
|
history
diff --git
a/src/json.c
b/src/json.c
index c64d44b4bacda464c5ae912fe370a6f0ed425483..486253581ffc5a258ae23d5dc6477de7ca99c390 100644
(file)
--- a/
src/json.c
+++ b/
src/json.c
@@
-1599,8
+1599,7
@@
json_parse_object (struct json_parser *parser)
case json_object_hashtable:
{
EMACS_INT value = (parser->object_workspace_current - first) / 2;
- result = CALLN (Fmake_hash_table, QCtest, Qequal, QCsize,
- make_fixed_natnum (value));
+ result = make_hash_table (&hashtest_equal, value, Weak_None, false);
struct Lisp_Hash_Table *h = XHASH_TABLE (result);
for (size_t i = first; i < parser->object_workspace_current; i += 2)
{